ZPOS\API\Coupons S

Total Complexity 22
Dependencies 4
Dependents 1
Total lines 172
Lines of code 136
Logical lines of code 45
Comment lines 0
Methods 8
Properties 2

Methods 8

Method Rating Maintainability Complexity Lines of code
prepare_objects_query()
S
53 5 26
validate_coupon()
S
54 5 23
get_all_ids()
S
55 4 19
get_single_item()
S
55 4 18
register_routes()
S
48 1 37
__construct()
S
79 1 3
prepare_object_for_response()
S
67 1 7
get_single_item_permissions_check()
S
80 1 3